<?php
/**
 * Created by PhpStorm.
 * User: Vlad
 * Date: 2/12/14
 * Time: 7:29 PM
 */

class HomeController extends BaseController
{
    public function __construct($action, $urlValues)
    {
        parent::__construct($action, $urlValues);
    }

    protected function Index()
    {
        $viewModel = new HomeViewModel(StatisticModel::ReadAll());

        $this->ReturnView($viewModel);
    }
} 